/*
* @Descripttion: 
* @version: @ 1.0.0
* @Author: 朱江洲
* @Date: 2021-11-25 15:44:50
 * @LastEditors: 朱江洲
 * @LastEditTime: 2021-12-24 13:14:14
*/
import request from '@/utils/request'

//订单详情
export const info = params => {
    return request({
        method: 'get',
        url: '/company/order/info',
        params
    })
}
// 订单详情人员列表
export const getRegisterInformations = params => {
    return request({
        method: 'get',
        url: '/company/order/getRegisterInformations',
        params
    })
}

// 退款人员列表
export const getRefundPeople = params => {
    return request({
        method: 'get',
        url: '/company/order/getRefundPeople',
        params
    })
}
// 申请退款
export const refund = data => {
    return request({
        method: 'post',
        url: '/company/order/refund',
        data
    })
}
// 替换人员列表
export const replaceList = params => {
    return request({
        method: 'get',
        url: '/company/studentInfo/list',
        params
    })
}

// 替换人员
export const replace = data => {
    return request({
        method: 'post',
        url: '/company/order/replace',
        data
    })
}

// 查询是否报名
export const check = data => {
    return request({
        method: 'post',
        url: '/company/order/check',
        data
    })
}
// 退款查询
export const checkRefund = params => {
    return request({
        method: 'get',
        url: '/company/order/checkRefund',
        params
    })
}
